package com.itmk.web.companyInfo.mapper;

import com.itmk.web.companyInfo.entity.Company;
import com.itmk.web.companyInfo.entity.JobInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CompanyMapper {
    Company getCompanyInfo(String uuid);

    void updateCompanyLogo(String pic,String uuid);

    Boolean updateCompanyInfo(Company company, String uuid);

    Boolean addJobInfo(JobInfo jobInfo, String uuid);

    boolean deleteJobInfo(String job_uuid, String uuid);

    List<JobInfo> allCompanyJob(String uuid);

    JobInfo getOneJob(String job_uuid, String uuid);

    List<JobInfo> getJobBySkill(String skill, String uuid);

    Boolean updateJobInfo(JobInfo jobInfo, String uuid);

    JobInfo getResume(String job_uuid);

    boolean addResume(String job_uuid, String resumes);

}
